package cn.edu.scau.cmi.wujiaxian.exercise5;

public class People {
	
	public static void main(String[] args) {
		@SuppressWarnings("unused")
		People boshi = new People("布什");
	}
	
	int leg, hand;
	String name;
	People(String s) {
		name = s;
		this.init();
	}
	
	People() {
	}
	
	void init() {
		leg = 2;
		hand = 2;
		System.out.println(name + "有" + hand + "只手" + leg + "条腿");
	}
	
	double computerArea(Circle c) {
		double area = c.getArea();
		return area;
	}
	double computerArea(Tixing t) {
		double area = t.getArea();
		return area;
	}
}	
